package com.wcs.exam.controller.admin.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * Admin-标签信息-分页响应对象
 * </p>
 *
 * @author wcs
 * @since 2025-03-17
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Admin-标签信息-分页响应对象")
public class AdminTagPageResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "标签名称")
    private String tagName;

    @Schema(description = "标签类型(参考枚举)")
    private Integer tagType;

    @Schema(description = "状态(1:正常，0:禁用)")
    private Integer status;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "创建人ID")
    private Long creatorId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private LocalDateTime gmtCreate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "修改时间")
    private LocalDateTime gmtModified;

    /*--------------------------------------------------- 拓展信息 ---------------------------------------------------*/

    @Schema(description = "用户标签数")
    private Integer userCount;
}
